import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';

import { AuthRoutingModule } from './auth-routing.module';
import { AuthComponent } from './auth.component';
import { DeptlistComponent } from './components/deptlist/deptlist.component';
import {CardModule} from "primeng/card";
import {TreeModule} from "primeng/tree";
import {MenuModule} from "primeng/menu";
import {ContextMenuModule} from "primeng/contextmenu";
import { DepteditComponent } from './components/deptedit/deptedit.component';
import {DialogService} from "primeng/dynamicdialog";
import {DialogModule} from "primeng/dialog";
import {Button} from "primeng/button";
import {InputGroupModule} from "primeng/inputgroup";
import {InputGroupAddonModule} from "primeng/inputgroupaddon";
import {InputTextModule} from "primeng/inputtext";
import {FormsModule} from "@angular/forms";
import {InputNumberModule} from "primeng/inputnumber";
import {Message, MessageModule} from "primeng/message";
import {TableModule} from "primeng/table";
import {PipesModule} from "../../pipes/pipes.module";
import { RolegrouplistComponent } from './components/rolegrouplist/rolegrouplist.component';
import { RolegroupeditComponent } from './components/rolegroupedit/rolegroupedit.component';


@NgModule({
  declarations: [
    AuthComponent,
    DeptlistComponent,
    DepteditComponent,
    RolegrouplistComponent,
    RolegroupeditComponent
  ],
  imports: [
    CommonModule,
    AuthRoutingModule,
    CardModule,
    TreeModule,
    MenuModule,
    ContextMenuModule,
    DialogModule,
    Button,
    InputGroupModule,
    InputGroupAddonModule,
    InputTextModule,
    FormsModule,
    InputNumberModule,
    MessageModule,
    TableModule,
    PipesModule

  ],
  providers: [
    DialogService
  ]
})
export class AuthModule { }
